<template>
  <div :style="{ width: width + 'px' }">
    <el-input v-model="input" :placeholder="placeholder">
      <template #append>
        <el-button><i-ep-search /></el-button>
      </template>
    </el-input>
  </div>
</template>

<script setup>
const input = ref('')
const props = defineProps( {
  width: {
    type: Number,
    default: 320
  },
  placeholder: {
    type: String,
    default: '请输入关键字搜索'
  }
} )
</script>

<style scoped></style>
